﻿@model List<RTW.Models.TLog>
<div>
    <div class="ibox-title">
        <h5>时间轴</h5>
    </div>
    <div class="ibox-content" style="margin-bottom: 20px;">
        <div id="vertical-timeline" class="vertical-container dark-timeline">
            @foreach (var log in Model)
            {
                <div class="vertical-timeline-block">
                    <div class="vertical-timeline-icon @RTW.Web.Handler.CommHandler.GetBgName(Model.IndexOf(log))-bg">
                        <i class="fa fa-briefcase"></i>
                    </div>
                    <div class="vertical-timeline-content">
                        <h2>@log.Modular</h2>
                        <p>
                            @log.LogInfo
                        </p>
                        <span class="vertical-date" style="float: right;">
                            <small>@RTW.Web.Handler.CommHandler.DateFormatToString(Convert.ToDateTime(log.AddTime))</small>
                        </span>
                    </div>
                </div>
            }
        </div>
    </div>
</div>